package com.pktechan.manage.service.impl;


import com.pktechan.manage.base.BaseMapper;
import com.pktechan.manage.base.BaseServiceImpl;
import com.pktechan.manage.dao.WxPayOrderMapper;
import com.pktechan.manage.entity.WxPayOrder;
import com.pktechan.manage.service.WxPayOrderService;
import com.pktechan.manage.vo.WxPayOrderVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("wxPayOrderService")
public class WxPayOrderServiceImpl extends BaseServiceImpl<WxPayOrder> implements WxPayOrderService {

    @Autowired
    private WxPayOrderMapper wxPayOrderMapper;

    /**
     * 由业务类实现
     *
     * @return
     */
    @Override
    public BaseMapper<WxPayOrder> getBaseMapper() {
        return wxPayOrderMapper;
    }

    @Override
    public List<WxPayOrder> getWxPayOrderList(WxPayOrderVO wxPayOrderVO) {
        return wxPayOrderMapper.getWxPayOrderList(wxPayOrderVO);
    }
}
